package API.DAY1;

public class LengthDemo {//查询字符串的长度
    public static void main(String[] args) {
        String a = "我爱java";
//        int len = a.length();
//        System.out.println(len);
        System.out.println(a.length());
    }
}
